package org.jeecg.modules.oms.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.oms.entity.XgeGlassSizeTable;
import org.jeecg.modules.oms.mapper.XgeGlassSizeTableMapper;
import org.jeecg.modules.oms.service.IXgeGlassSizeTableService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 新格尔窗型确认文件-玻璃尺寸表 服务实现类
 */
@Service
public class XgeGlassSizeTableServiceImpl extends ServiceImpl<XgeGlassSizeTableMapper, XgeGlassSizeTable> implements IXgeGlassSizeTableService {

    @Override
    public List<XgeGlassSizeTable> getListByDetailId(String detailId) {
        return baseMapper.getListByDetailId(detailId);
    }

    @Override
    public boolean deleteByDetailId(String detailId) {
        return baseMapper.deleteByDetailId(detailId) > 0;
    }

    @Override
    public List<Map<String, Object>> selectMapListByDetailId(String detailId) {
        return baseMapper.selectMapListByDetailId(detailId);
    }
} 